package com.ln.asset.core.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author sishengyang
 * @since 2022-05-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CarHistory对象", description="")
public class CarHistory implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "历史记录id")
      @TableId(value = "h_id", type = IdType.AUTO)
    private Integer hId;

    @ApiModelProperty(value = "车辆名称")
    private String hName;

    @ApiModelProperty(value = "车辆号牌")
    private String hPlate;

    @ApiModelProperty(value = "使用部门")
    private Integer hDepartment;

    @ApiModelProperty(value = "车辆状态")
    private Integer hStatus;

    @ApiModelProperty(value = "出借时间")
    private LocalDateTime hStart;

    @ApiModelProperty(value = "归还时间")
    private LocalDateTime hEng;

    @ApiModelProperty(value = "驾驶人")
    private String hDriver;

    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    private Integer isDeleted;


}
